package com.qst.crop.dao;

import com.qst.crop.entity.Expert;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
import java.util.List;

/**
 * (Expert)表数据库访问层
 *
 * @author Wlj
 * @since 2025-09-02 15:28:32
 */
public interface ExpertDao {


    int deleteById(String userName);

    // 新增：供 PageHelper 使用
    List<Expert> selectAll();

    List<Expert> selectByKeys(@Param("keys") String keys);

    Expert selectByPrimaryKey(String name);

    int insertSelective(Expert record);

    int updateByPrimaryKeySelective(Expert record);

    List<Expert> selectAllExpert();

    Expert queryById(String userName);

    void deleteByPrimaryKey(String userName);
}

